home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Hardcore Visual Basic 5.0 (2nd Edition)
/
Hardcore Visual Basic 5.0 - Second Edition (1997)(Microsoft Press).iso
/
Source
/
Sieve
/
SIEVEMFC
/
SIEVE.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-06-02
|
1KB
|
59 lines
// MSieve.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSieveMFC command target
class CSieveMFC : public CCmdTarget
{
DECLARE_DYNCREATE(CSieveMFC)
CSieveMFC(); // protected constructor used by dynamic creation
// Attributes
public:
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CSieveMFC)
public:
virtual void OnFinalRelease();
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~CSieveMFC();
short *m_af;
int m_iCur;
short m_iMaxPrime;
short m_cPrime;
// Generated message map functions
//{{AFX_MSG(CSieveMFC)
// NOTE - the ClassWizard will add and remove member functions here.
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
DECLARE_OLECREATE(CSieveMFC)
// Generated OLE dispatch map functions
//{{AFX_DISPATCH(CSieveMFC)
afx_msg short GetNextPrime();
afx_msg short GetMaxPrime();
afx_msg void SetMaxPrime(short nNewValue);
afx_msg short GetPrimes();
afx_msg void ReInitialize();
afx_msg void AllPrimes(LPVARIANT pv);
//}}AFX_DISPATCH
DECLARE_DISPATCH_MAP()
DECLARE_INTERFACE_MAP()
};
/////////////////////////////////////////////////////////////////////////////